<template>
  <div>
    <el-dialog title="消息查看" visible="true" @close="close" width="45%">
      <div class="dialog">
        <div class="title">{{noticeInfo.USERMSG_BT}}</div>
        <div class="nexttitle">{{noticeInfo.SY_CREATEUSERNAME}}于{{noticeInfo.SY_CREATETIME}}发送</div>
        <div class="content">{{noticeInfo.USERMSG_NR}}</div>
      </div>
    </el-dialog>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  props: {
    dialogVisible: {
      type: Boolean,
      default: false,
    },
    noticeInfo: {
      type: Object,
      default: {},
    },
  },
  watch: {},
  computed: {},
  created() {},
  mounted() {},
  methods: {
    close() {
      this.$emit('closeDialog', false)
    },
  },
}
</script>

<style lang="less" scoped>
.dialog {
  height: 200px;
  margin-top: -30px;
  .title {
    margin-bottom: 8px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
  }
  .nexttitle {
    margin-bottom: 20px;
    text-align: center;
    color: #868686;
  }
  .content {
    margin: 10px 20px 20px 20px;
  }
}
</style>
